package cc.ilzy.mall.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author ilzy
 * @since 2025-07-09
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@ApiModel(value = "Product对象", description = "")
public class ProductVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;

    /**
     * 封面图
     */
    @ApiModelProperty("封面图")
    private String coverImg;

    /**
     * 详情
     */
    @ApiModelProperty("详情")
    private String detail;

    /**
     * 老价格
     */
    @ApiModelProperty("老价格")
    private BigDecimal oldAmount;

    /**
     * 新价格
     */
    @ApiModelProperty("新价格")
    private BigDecimal amount;

    /**
     * 库存
     */
    @ApiModelProperty("库存")
    private Integer stock;
}
